package tech.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import tech.aistar.entity.PhoneType;

import java.util.List;

/**
 * @Author: lya
 * @Description: 本类的作用描述:
 * @CreateDate: 2019/9/5
 * @Version: 1.0
 */
public interface PhoneTypeMapper {

    @Select("select * from phone_type")
    List<PhoneType> findAll();

    @Select("select * from phone_type where id = #{value}")
    PhoneType findById(Integer id);
}
